//
//  ChannerModel.m
//  ProjectOfBStage
//
//  Created by cuixin on 15/11/12.
//  Copyright © 2015年 cuixin. All rights reserved.
//

#import "ChannerModel.h"

@implementation ChannerModel

-(void)encodeWithCoder:(NSCoder *)aCoder{
    [aCoder encodeObject:self.name forKey:@"name"];
    [aCoder encodeObject:self.pic forKey:@"pic"];
    [aCoder encodeObject:self.info forKey:@"info"];
}
-(instancetype)initWithCoder:(NSCoder *)aDecoder{
    self = [super init];
    if (self) {
        self.name = [aDecoder decodeObjectForKey:@"name"];
        self.pic = [aDecoder decodeObjectForKey:@"pic"];
        self.info = [aDecoder decodeObjectForKey:@"info"];
    }
    return self;
}

@end
